home *** CD-ROM | disk | FTP | other *** search
- function fnEndMove(dir)
- {
- setProperty(this, _X, eval("_root.marker" + _root.gCurrentChannel + "._x"));
- if(dir == "right")
- {
- if(_root.gRightArrowPressed == true && _root.gCurrentChannel < _root.TOTAL_CHANNELS)
- {
- _root.fnMoveOlie("right");
- }
- else
- {
- _root["interface"].leftArrowBtnClip.arrow_btn.enabled = true;
- _root["interface"].rightArrowBtnClip.gotoAndStop("enabled");
- if(_root.gCurrentChannel >= _root.TOTAL_CHANNELS)
- {
- _root["interface"].rightArrowBtnClip.arrow_btn.enabled = false;
- }
- _root.gOlieState = "still_right";
- gotoAndStop(36);
- }
- }
- else if(dir == "left")
- {
- if(_root.gLeftArrowPressed == true && _root.gCurrentChannel > 1)
- {
- _root.fnMoveOlie("left");
- }
- else
- {
- _root["interface"].rightArrowBtnClip.arrow_btn.enabled = true;
- _root["interface"].leftArrowBtnClip.gotoAndStop("enabled");
- if(_root.gCurrentChannel <= 1)
- {
- _root["interface"].leftArrowBtnClip.arrow_btn.enabled = false;
- }
- _root.gOlieState = "still_left";
- gotoAndStop(2);
- }
- }
- }
-